package com.quanyan.authority.service;

import com.quanyan.authority.model.db.TbRole;
import com.quanyan.authority.model.db.TbRoleMenu;

import java.util.List;

/**
 * Created by Administrator on 2016/8/1.
 */
public interface RoleMenuService {

    /**
     *
     * @param list
     */
    public void batchAddRoleMenu(List<TbRoleMenu> list);


    /**
     *
     * @param ids
     */
    public void batchDelRoleMenu(List<TbRoleMenu> ids);


    /**
     *
     * @return
     */
    public void initRoleMenu();


    public List<TbRoleMenu> getMenuId(Integer roleId);
    }
